const config = {
    application: {
        name: 'dream',
        host: '127.0.0.1',
        port: 3000
    },
    redis: {
        port: 6379, // Redis port
        host: "127.0.0.1", // Redis host
        family: 4, // 4 (IPv4) or 6 (IPv6)
        password: '',
        db: 1,
    },
    rabbitmq: {
        "protocol": "amqp",
        "hostname": "localhost",
        "username": "testyuejuan",
        "password": "testyuejuan",
        "vhost": "testyuejuan",
        "port": 5672,
        "locale": "en_US",
        "frameMax": 0,
        "heartbeat": 0,
    },
    consul: {
        port: 8500,
        host: '127.0.0.1',
        promisify: false
    }
}


module.exports = config;
